package com.zzyl.service;


import com.zzyl.base.PageResponse;
import com.zzyl.dto.VisitDto;
import com.zzyl.entity.CountByTime;
import com.zzyl.vo.VisitVo;

import java.util.List;

public interface CustomerReservationService {

    Integer selectCancledReservationCount(Long userId);

    void add(VisitDto visitDto);

    PageResponse<VisitVo> getByPage(Integer pageNum, Integer pageSize, Integer status);

    void cancel(Long id);

    List<CountByTime> getCountByTime(Long time);
}
